Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update actions/checkout action to v4.2.2 #390

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 2, 2024

This PR contains the following updates:

Package Type Update Change
actions/checkout action minor v4.1.7 -> v4.2.2

Release Notes

actions/checkout (actions/checkout)

v4.2.2

Compare Source

v4.2.1

Compare Source

v4.2.0

Compare Source


Configuration

📅 Schedule: Branch creation - "* 0-4 * * 3" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner October 2, 2024 01:08
@renovate renovate bot force-pushed the renovate/actions-checkout-4.x branch from 05c7ff9 to c6913e0 Compare October 11, 2024 18:25
@renovate renovate bot changed the title chore(deps): update actions/checkout action to v4.2.0 chore(deps): update actions/checkout action to v4.2.1 Oct 11, 2024
@renovate renovate bot force-pushed the renovate/actions-checkout-4.x branch from c6913e0 to 58989f6 Compare October 11, 2024 18:26
@renovate renovate bot force-pushed the renovate/actions-checkout-4.x branch from 58989f6 to c362f46 Compare October 27, 2024 16:17
@renovate renovate bot changed the title chore(deps): update actions/checkout action to v4.2.1 chore(deps): update actions/checkout action to v4.2.2 Oct 27, 2024
Copy link

[puLL-Merge] - actions/checkout@v4.1.7..v4.2.2

Description

This PR introduces several enhancements and updates to the GitHub Actions checkout action. The main changes include adding new outputs for the checked-out ref and commit, improving URL handling for different GitHub environments, and updating dependencies.

Changes

Changes

  1. action.yml:

    • Added new outputs: 'ref' and 'commit' to provide information about the checked-out branch/tag/SHA and commit SHA.
  2. src/git-source-provider.ts:

    • Added logic to set the 'commit' output with the checked-out commit SHA.
  3. src/main.ts:

    • Added logic to set the 'ref' output with the checked-out ref.
  4. src/ref-helper.ts:

    • Modified the getCheckoutInfo function to handle refs/ prefixed references without a commit.
  5. src/url-helper.ts:

    • Refactored and improved URL handling logic, particularly for GitHub Enterprise Server (GHES) environments.
    • Added new helper functions for string manipulation and content checking.
  6. __test__/url-helper.test.ts:

    • Added new test cases for the updated URL handling logic.
  7. package.json:

    • Updated version to 4.2.2.
    • Updated several dependencies to their latest versions.
  8. CHANGELOG.md:

    • Added entries for versions 4.2.2, 4.2.1, and 4.2.0, detailing the changes in each version.
  9. README.md:

    • Added a note about the user email format for git commits.
  10. .github/workflows/publish-immutable-actions.yml:

    • Added a new workflow for publishing immutable action versions.
  11. .github/workflows/test.yml:

    • Added a new job 'test-output' to verify the new ref and commit outputs.
  12. .github/workflows/update-test-ubuntu-git.yml:

    • Updated docker-related action versions.

Possible Issues

No major issues identified. The changes appear to be well-tested and backwards compatible.

Security Hotspots

No significant security concerns identified in this change set. The URL handling improvements in src/url-helper.ts may indirectly improve security by more accurately detecting different GitHub environments, but this is not a direct security enhancement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants